package com.zhiyun.domain;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Course implements Serializable {
    @Serial
    private static final long serialVersionUID = 1875284488628809031L;
    /**
    * 主键
    */
    private Integer id;

    /**
    * 课程名字
    */
    private String name;

    /**
    * 描述
    */
    private String describe;

    /**
    * 开课时间
    */
    private Date beginTime;

    /**
    * 结束时间
    */
    private Date endTime;

    /**
    * 邀请码
    */
    private String inviteCode;

    /**
    * 授课教师id
    */
    private Integer teacherId;
}